package com.fuhao.springbootrabbit.constant;

import com.sun.xml.internal.ws.api.ha.StickyFeature;

/**
 * @author zhang
 * @title: RabbitConstant
 * @projectName springboot-rabbit
 * @description: TODO
 * @date 2019/5/2116:14
 */
public class RabbitConstant {
    /**
     * Direct模式
     */
    public static final String DIRECT_EXCHANGE_NAME = "Direct_Exchange";
    public static final String DIRECT_QUEUE_NAME = "Direct_Queue";
    public static final String DIRECT_ROUTE_KEY_NAME = "Direct_RouteKey";

    /**
     * Topic模式
     */
    public static final String TOPIC_EXCHANGE_NAME = "Topic_Exchange";
    public static final String TOPIC_QUEUE1_NAME = "Topic_Queue1";
    public static final String TOPIC_QUEUE2_NAME = "Topic_Queue2";
    public static final String TOPIC_ROUTE_KEY1_NAME = "*.topic.*";
    public static final String TOPIC_ROUTE_KEY2_NAME = "test.topic.*";

    /**
     * Fanout模式
     */
    public static final String FANOUT_EXCHANGE_NAME = "Fanout_Exchange";
    public static final String FANOUT_QUEUE1_NAME = "Fanout_Queue1";
    public static final String FANOUT_QUEUE2_NAME = "Fanout_Qeue2";
}
